neighbor route-map name

This command applies a route-map on the neighbor.

Syntax

neighbor {<neighbor tag>|a.b.c.d|X:X::X:X} route-map name {in|out|export|import} 

Command

Description

a.b.c.d|X:X::X:X

Defines the IP address of the neighbor (IPv4 or IPv6).

neighbor tag

Defines the neighbor tag.

name

Defines the name of the route-map.

in

Applies a map to incoming routes.

out

Applies a map to outbound routes.

export

Applies a map to routes coming from the route-server client.

import

Applies a map to routes going into the client’s table.

Default

NA

Command Mode

Privileged User

Example

This example applies a route-map on the neighbor.

(config-data)# router bgp 1
(conf-router)# neighbor 10.12.5.101 route-map routename in import